angular.module('starter')
.controller('feedbackCtrl', function($scope,$ionicScrollDelegate,$state,$stateParams,meilvFac,$window) {
 	$scope.sendinfo={};
 	$scope.submitFeedback=function(){
 		console.log($scope.sendinfo.feedback)
 		meilvFac.feedback.addfeedback(
 			{feedback:$scope.sendinfo.feedback},
 			function(data){
 				alert("谢谢您的反馈");
 				$state.go('tab.info');
 			},
 			function(data){
 				console.log(data);
 			}
 		)
 	}
})